package org.vergil.core.thread;

/**
 * Created by vergil on 2/16/17.
 */
public class RunTest implements Runnable{
    private  int count = 1000;

    public void run() {
        while (true) {
            if (count > 0) {
                System.out.println(count);
                count--;
            } else {
                return;
            }
        }

    }
}
